<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: WarriorFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_warrior_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">WarriorFactory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html">DESIGNPATTERN_ComplexFactory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for WarriorFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory__inherit__graph.png" border="0" usemap="#_warrior_factory_inherit__map" alt="Inheritance graph"/></div>
<map name="_warrior_factory_inherit__map" id="_warrior_factory_inherit__map">
<area shape="rect" title=" " alt="" coords="14,233,155,399"/>
<area shape="rect" href="class_complex_factory.html" title=" " alt="" coords="5,5,164,185"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for WarriorFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory__coll__graph.png" border="0" usemap="#_warrior_factory_coll__map" alt="Collaboration graph"/></div>
<map name="_warrior_factory_coll__map" id="_warrior_factory_coll__map">
<area shape="rect" title=" " alt="" coords="14,235,155,400"/>
<area shape="rect" href="class_complex_factory.html" title=" " alt="" coords="5,5,164,185"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1b21673928ab71120218b85bdb009802"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a1b21673928ab71120218b85bdb009802">~WarriorFactory</a> ()</td></tr>
<tr class="separator:a1b21673928ab71120218b85bdb009802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97a0d27d93adacd4cf3842d95f560acd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_profession.html">Profession</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a97a0d27d93adacd4cf3842d95f560acd">CreateProfession</a> ()</td></tr>
<tr class="separator:a97a0d27d93adacd4cf3842d95f560acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_complex_factory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_complex_factory')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_complex_factory.html">ComplexFactory</a></td></tr>
<tr class="memitem:a99a257de69ea72cc3301220500e67cee inherit pub_methods_class_complex_factory"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_complex_factory.html#a99a257de69ea72cc3301220500e67cee">~ComplexFactory</a> ()=0</td></tr>
<tr class="separator:a99a257de69ea72cc3301220500e67cee inherit pub_methods_class_complex_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf83c4f47e5bf255b9fba1db3271e1be inherit pub_methods_class_complex_factory"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_product_def_8h.html#af4f386858b1730df6c103acb62cebe68">PROFESSION_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_complex_factory.html#aaf83c4f47e5bf255b9fba1db3271e1be">GetComplexFactory</a> ()</td></tr>
<tr class="separator:aaf83c4f47e5bf255b9fba1db3271e1be inherit pub_methods_class_complex_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac2974727c2590d33014e468bad60f38c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_complex_factory.html">ComplexFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#ac2974727c2590d33014e468bad60f38c">Instance</a> ()</td></tr>
<tr class="separator:ac2974727c2590d33014e468bad60f38c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b3b4b66a0498639b0f927323f30237c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a9b3b4b66a0498639b0f927323f30237c">Destroy</a> ()</td></tr>
<tr class="separator:a9b3b4b66a0498639b0f927323f30237c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a3b879a5e301c0b2fc81b657897199ab3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a3b879a5e301c0b2fc81b657897199ab3">WarriorFactory</a> ()</td></tr>
<tr class="separator:a3b879a5e301c0b2fc81b657897199ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a8b7e9b1dc76d5b017c2655db2495ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a3a8b7e9b1dc76d5b017c2655db2495ab">WarriorFactory</a> (const <a class="el" href="class_warrior_factory.html">WarriorFactory</a> &amp;cWarriorFactory)</td></tr>
<tr class="separator:a3a8b7e9b1dc76d5b017c2655db2495ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba50be6a7af7350202a59d19a92f3a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_warrior_factory.html">WarriorFactory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a9ba50be6a7af7350202a59d19a92f3a4">operator=</a> (const <a class="el" href="class_warrior_factory.html">WarriorFactory</a> &amp;cWarriorFactory)</td></tr>
<tr class="separator:a9ba50be6a7af7350202a59d19a92f3a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a2b535e9f091e1909b09f10bc98eeace2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_warrior_factory.html">WarriorFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_warrior_factory.html#a2b535e9f091e1909b09f10bc98eeace2">m_pInstance</a> = NULL</td></tr>
<tr class="separator:a2b535e9f091e1909b09f10bc98eeace2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_complex_factory"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_complex_factory')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_complex_factory.html">ComplexFactory</a></td></tr>
<tr class="memitem:adef3934cf4954ec5fa12de17b63437e6 inherit pro_methods_class_complex_factory"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_complex_factory.html#adef3934cf4954ec5fa12de17b63437e6">ComplexFactory</a> (<a class="el" href="_product_def_8h.html#af4f386858b1730df6c103acb62cebe68">PROFESSION_TYPE</a> eProfession)</td></tr>
<tr class="separator:adef3934cf4954ec5fa12de17b63437e6 inherit pro_methods_class_complex_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6769ba71051831e3fbb8e143c4e91377 inherit pro_methods_class_complex_factory"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_complex_factory.html#a6769ba71051831e3fbb8e143c4e91377">SetComplexFactory</a> (<a class="el" href="_product_def_8h.html#af4f386858b1730df6c103acb62cebe68">PROFESSION_TYPE</a> eProfession)</td></tr>
<tr class="separator:a6769ba71051831e3fbb8e143c4e91377 inherit pro_methods_class_complex_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html#l00092">92</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html">DESIGNPATTERN_ComplexFactory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1b21673928ab71120218b85bdb009802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b21673928ab71120218b85bdb009802">&#9670;&nbsp;</a></span>~WarriorFactory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">WarriorFactory::~WarriorFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destruction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html#l00104">104</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a>.</p>

</div>
</div>
<a id="a3b879a5e301c0b2fc81b657897199ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b879a5e301c0b2fc81b657897199ab3">&#9670;&nbsp;</a></span>WarriorFactory() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">WarriorFactory::WarriorFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html#l00092">92</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory_a3b879a5e301c0b2fc81b657897199ab3_icgraph.png" border="0" usemap="#class_warrior_factory_a3b879a5e301c0b2fc81b657897199ab3_icgraph" alt=""/></div>
<map name="class_warrior_factory_a3b879a5e301c0b2fc81b657897199ab3_icgraph" id="class_warrior_factory_a3b879a5e301c0b2fc81b657897199ab3_icgraph">
<area shape="rect" title=" " alt="" coords="328,5,531,32"/>
<area shape="rect" href="class_warrior_factory.html#ac2974727c2590d33014e468bad60f38c" title=" " alt="" coords="115,5,280,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="a3a8b7e9b1dc76d5b017c2655db2495ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a8b7e9b1dc76d5b017c2655db2495ab">&#9670;&nbsp;</a></span>WarriorFactory() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">WarriorFactory::WarriorFactory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_warrior_factory.html">WarriorFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cWarriorFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_warrior_factory.html">WarriorFactory</a>&amp; cWarriorFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a97a0d27d93adacd4cf3842d95f560acd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97a0d27d93adacd4cf3842d95f560acd">&#9670;&nbsp;</a></span>CreateProfession()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_profession.html">Profession</a> * WarriorFactory::CreateProfession </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_profession.html">Profession</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Profession* </dd></dl>
<dl class="section note"><dt>Note</dt><dd>create <a class="el" href="class_warrior.html">Warrior</a> </dd></dl>

<p>Implements <a class="el" href="class_complex_factory.html#a183e5ca9c84b6f836871bcf4aa2331aa">ComplexFactory</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html#l00152">152</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a>.</p>

</div>
</div>
<a id="a9b3b4b66a0498639b0f927323f30237c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b3b4b66a0498639b0f927323f30237c">&#9670;&nbsp;</a></span>Destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> WarriorFactory::Destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destroy</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>VOID </dd></dl>
<dl class="section note"><dt>Note</dt><dd>singleton </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html#l00135">135</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory_a9b3b4b66a0498639b0f927323f30237c_icgraph.png" border="0" usemap="#class_warrior_factory_a9b3b4b66a0498639b0f927323f30237c_icgraph" alt=""/></div>
<map name="class_warrior_factory_a9b3b4b66a0498639b0f927323f30237c_icgraph" id="class_warrior_factory_a9b3b4b66a0498639b0f927323f30237c_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,276,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="ac2974727c2590d33014e468bad60f38c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2974727c2590d33014e468bad60f38c">&#9670;&nbsp;</a></span>Instance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_complex_factory.html">ComplexFactory</a> * WarriorFactory::Instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Instance</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ComplexFactory* </dd></dl>
<dl class="section note"><dt>Note</dt><dd>singleton </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html#l00117">117</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_cgraph.png" border="0" usemap="#class_warrior_factory_ac2974727c2590d33014e468bad60f38c_cgraph" alt=""/></div>
<map name="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_cgraph" id="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,171,32"/>
<area shape="rect" href="class_warrior_factory.html#a3b879a5e301c0b2fc81b657897199ab3" title=" " alt="" coords="219,5,421,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_icgraph.png" border="0" usemap="#class_warrior_factory_ac2974727c2590d33014e468bad60f38c_icgraph" alt=""/></div>
<map name="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_icgraph" id="class_warrior_factory_ac2974727c2590d33014e468bad60f38c_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,280,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="a9ba50be6a7af7350202a59d19a92f3a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ba50be6a7af7350202a59d19a92f3a4">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_warrior_factory.html">WarriorFactory</a>&amp; WarriorFactory::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_warrior_factory.html">WarriorFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cWarriorFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assignment</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_warrior_factory.html">WarriorFactory</a>&amp; cWarriorFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_warrior_factory.html">WarriorFactory</a>&amp; </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2b535e9f091e1909b09f10bc98eeace2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b535e9f091e1909b09f10bc98eeace2">&#9670;&nbsp;</a></span>m_pInstance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_warrior_factory.html">WarriorFactory</a> * WarriorFactory::m_pInstance = NULL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html#l00158">158</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html">DESIGNPATTERN_ComplexFactory.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/96_project/DesignPattern/03_ComplexFactory/groupinc/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8h_source.html">DESIGNPATTERN_ComplexFactory.h</a></li>
<li>C:/96_project/DesignPattern/03_ComplexFactory/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___complex_factory_8cpp_source.html">DESIGNPATTERN_ComplexFactory.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
